/* Windows
---------------------------------------------------------------- */

.mocha {display: none;overflow: hidden;background-color: #e5e5e5;}
.mocha.isFocused {}	
.mochaOverlay {position: absolute;top: 0;left: 0;}
.mochaTitlebar {width: 100%;overflow: hidden;background: url(../spacer.gif?from=fafafa&to=e5e5e5);}
.mochaTitlebar h3 {
	font: 0.825em "Verdana", arial, sans-serif;
	line-height: 15px;	
	font-weight: bold;
	margin: 0;
	padding: 5px 10px 4px 12px;
	color: #888;
}
.mocha.isFocused .mochaTitlebar h3 {color: #181818;}
.mochaToolbarWrapper {
	width: 100%; /* For IE */
	position: relative;
	height: 29px;
	background: #f1f1f1;	
	overflow: hidden;
	border-top: 1px solid #d9d9d9;
}
div.mochaToolbarWrapper.bottom {border: 0;border-bottom: 1px solid #d9d9d9;}
.mochaToolbar {width: 100%;border-top: 1px solid #fff;}
.mochaContentBorder {border-top: 1px solid #dadada;border-bottom: 1px solid #dadada;}
.mochaContentWrapper {font-size: 12px;overflow: auto;background: #fff;}
.mochaContent {padding: 10px 12px;}

.mocha .handle {
	position: absolute;
	background: #0f0;
	width: 3px;
	height: 3px;
	z-index: 2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE8 */		
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); /* IE6 and 7*/
	opacity: .0;	
	-moz-opacity: .0;
	overflow: hidden;
	font-size: 1px; /* For IE6 */
}

.mocha .corner { /* Corner resize handles */
	width: 10px;
	height: 10px;
	background: #f00;	
}

.mocha .cornerSE { /* Bottom right resize handle */
	width: 20px;
	height: 20px;
	background: #fefefe; /* This is the color of the visible resize handle */	
}

.mochaCanvasHeader {
	position: absolute;
	top: 0;
	left: 0;
	background: transparent;
	z-index: -1;
	visibility: hidden;
	overflow: hidden;
}

.mochaControls {
	position: absolute;
	width: 52px;
	top: 8px;
	right: 8px;
	height: 14px;
	z-index: 4;
	background: transparent;
}

.mochaCanvasControls {
	position: absolute;	
	top: 8px;
	right: 8px;	
	z-index: 3;
	background: transparent;
}

/*
	To use images for these buttons:
	1. Set the useCanvasControls window option to false.
	2. If you use a different button size you may need to reposition the controls.
	   Modify the controlsOffset window option.		
	2. Replcac the background-color with a background-image for each button.

*/
.mochaMinimizeButton, .mochaMaximizeButton, .mochaCloseButton {
	float: right;
	width: 14px;
	height: 14px;
	font-size: 1px;	
	cursor: pointer;
	z-index: 4;
	color: #666;
	background-color: #fff;
	margin-left: 5px;
}

.mochaMinimizeButton {margin-left: 0;}
.mochaMaximizeButton {}
.mochaCloseButton {}
.mochaSpinner{
	display: none;	
	position: absolute;
	bottom: 7px;
	left: 6px;
	width: 16px;
	height: 16px;
	background: url(../saving.gif) no-repeat;
}
.mochaIframe {width: 100%;}
		
/* Fix for IE6 select z-index issue */
.zIndexFix {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	filter: mask();
	width: 100px;
	height: 100px;
	border: 1px solid transparent;
}
/* Underlay */
#windowUnderlay { 
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;	
}

* html #windowUnderlay { 
	position: absolute; 
}
.mocha.replaced, .mochaTitlebar.replaced, .mochaMinimizeButton.replaced, .mochaMaximizeButton.replaced, .mochaCloseButton.replaced {
	background-color: transparent !important;
}

.windowClosed {
	visibility: hidden;	
	display: none;
	position: absolute;
	top: -20000px;
	left: -20000px;
	z-index: -1;
	overflow: hidden;		
}

.windowClosed .mochaContentBorder, .windowClosed .mochaToolbarWrapper, .windowClosed .mochaTitlebar, .windowClosed .mochaControls,
.windowClosed .mochaCanvasControls {
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;	
	display: none;
	z-index: -1;	
}		
	
/* Window Themes */
.mocha.transparent .mochaTitlebar h3 {color: #fff;display: none;}
.mocha.transparent .mochaContentWrapper {background: transparent;}
.pad {padding:20px;}

/* Dock/Taskbar */
#dockWrapper {display: none;width: 100%;}
#dock {
	position: relative;
	padding: 2px 16px 0 6px;
	bottom: 0;
	left: 0;
	background: #E3E3E3;
	border-top:2px solid #666;
	min-height: 27px;
	height: auto;
}
*html #dock {height: 30px;}
.dockTab {
	float: left;
	position: relative;	
	font: 0.825em "Verdana", arial, sans-serif;
	width: 150px;
	height: 24px;
	margin: 2px 3px 2px 0;
	overflow: hidden;	
	cursor: pointer;
	background: url(../mochaui/dock-tabs.png) left top no-repeat;
}
.dockTab.activeDockTab,.dockTab:hover {background-position: left -24px;}
.dockText {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	font-weight: bold;
	color: #555;	
	text-align: left;
	padding: 5px 10px 2px 24px;
	width: 130px;
	height: 19px;
	overflow: hidden;
}
.dockText:hover {color: #333;}
.dockTab.activeDockTab .dockText {color: #333;}
#dockCanvas {
	position: absolute;
	top: 5px;
	right: 3px;
	z-index: 2;	
}
#dockPlacement {
	position: absolute;
	top: 4px;
	right: 8px;
	width: 10px;
	height: 9px;	
	opacity: 0;
	cursor: pointer;
	z-index: 3; /* for IE */
	text-align: right;	
}
#dockAutoHide {
	position: absolute;
	top: 14px;
	right: 8px;
	width: 10px;
	height: 9px;	
	opacity: 0;
	cursor: pointer;
	z-index: 3; /* for IE */
	text-align: right;	
}
.dockButtonEnabled {background-color: #7399bf;}
.dockButtonDisabled {background-color: #aaa;}
.dockButtonTrue {background-color: #33cc33;}

/* Toolbar Tabs */
.toolbarTabs {	
	padding: 0 5px 2px 2px;
	background: url(../mochaui/tabs.png) repeat-x;
	background-position: left -70px;
	overflow: visible;
}
.tab-menu {	
	padding-top: 1px;
	list-style:	none;
	margin: 0;
	padding: 0;
	line-height: 16px;
	font-size: 11px;
}
.tab-menu li {
	display: block;
	float: left;
	font: 0.825em "Verdana", arial, sans-serif;
	margin:	0 0 5px 0;
	cursor: pointer;	
	background: url(../mochaui/tabs.png) repeat-x;
	background-position: left -35px;
}
.tab-menu li.selected {
	background: url(../mochaui/tabs.png) repeat-x;
	background-position: left 0;
}
.tab-menu li a {
	display: block;
	margin-left: 8px;
	padding: 6px 15px 5px 9px;
	text-align: center;
	font-weight: normal;
	color: #181818;
	background: url(../mochaui/tabs.png) repeat-x;
	background-position: right -35px;	
}
.tab-menu li.selected a {
	color: #181818;
	font-weight: bold;	
	background: url(../mochaui/tabs.png) repeat-x;
	background-position: right 0;
}

/* Layout */
.iconWrapper {
	display: inline-block;
	height: 22px;
	min-width: 22px;
	overflow: hidden;
	border: 1px solid transparent;
}
* html .iconWrapper {padding: 1px;border: 0;}
.iconWrapper img {cursor: pointer;margin: 0;padding: 3px;}
.iconWrapper:hover {border: 1px solid #a0a0a0;-moz-border-radius: 3px;}

#spinnerWrapper {
    width: 16px;
    height: 16px;
    background: url(../spacer.gif) no-repeat;
    margin: 4px 5px 0 5px;
}
#spinner {
	display: none;
	background: url(../saving.gif) no-repeat;
	width: 16px;
	height: 16px;
}	